import { createRouter, createWebHashHistory } from 'vue-router';
const routes = [
  { path: '/', name: 'views', component: () => import('../views/index.vue') },
  {
    path: '/demo',
    name: 'demo',
    component: () => import('../views/visual-effect/demo-search-input/index.vue'),
  },
  {
    path: '/tzl-form',
    name: 'tzl-form',
    component: () => import('../views/tzl-demo/Form.vue'),
  },
  {
    path: '/tzl-page',
    name: 'tzl-page',
    component: () => import('../views/tzl-demo/Page.vue'),
  },
  {
    path: '/tzl-table',
    name: 'tzl-table',
    component: () => import('../views/tzl-demo/Table.vue'),
  },
  {
    path: '/dialog',
    name: 'dialog',
    component: () => import('../views/zxq-demo/dialog.vue'),
  },
  {
    path: '/dialog-confirm',
    name: 'dialog-confirm',
    component: () => import('../views/zxq-demo/dialogConfirm.vue'),
  },
  {
    path: '/op-table',
    name: 'op-table',
    component: () => import('../views/zxq-demo/table.vue'),
  },
  { path: '/tzl-tag', name: 'tzl-tag', component: () => import('../views/tzl-demo/Tag.vue') },
  {
    path: '/zxq-transfer-table',
    name: 'tzl-tag',
    component: () => import('../views/zxq-demo/transferTable.vue'),
  },
  {
    path: '/zxq-table-vir',
    name: 'zxq-table-vir',
    component: () => import('../views/zxq-demo/TablePageVir.vue'),
  },
  {
    path: '/zxq-approve-page',
    name: 'zxq-approve-page',
    component: () => import('../views/zxq-demo/approvePage.vue'),
  },
  {
    path: '/zxq-collaborate',
    name: 'collaborate',
    component: () => import('../views/zxq-demo/collaborate.vue'),
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
